{// 引入标签库 }
<tagLib name="fanwe" />
{// 加载头部公共文件 }
<include file="Public:header" />
<!-- 菜单区域  -->

<!-- 主页面开始 -->
<div id="main" class="main" >
<script type="text/javascript">
	function showdetail(id){
		location.href = APP+'?m=User&a=showdetail&user_id='+id;
	}	
</script>
<!-- 主体内容  -->
<div class="content" >
<div class="title">{$Think.lang.DATA_LIST}</div>
<!--  功能操作区域  -->
<form method='post' action="{:u($module_name.'/index')}">
<div class="operate" >
<fanwe:imageBtn name="add" value="{$Think.lang._ADD_DATA}" click="addData()" style="impBtn hMargin fLeft shadow" />
<fanwe:imageBtn name="edit" value="{$Think.lang._EDIT_DATA}" click="editData()" style="impBtn hMargin fLeft shadow" />
<fanwe:imageBtn name="delete" value="{$Think.lang._DELETE_DATA}" click="foreverdel()" style="impBtn hMargin fLeft shadow" />
<!-- 查询区域 -->
<form method='get' action="__APP__" style="float:right;">
<select name="status">
	<option value="-1" <if condition="$status eq -1 ">selected</if>>=状态=</value>
	<option value="0" <if condition="$status eq 0">selected</if>>禁用</option>
    <option value="1" <if condition="$status eq 1">selected</if>>正常</option>
</select>
<select name="group_id" id="group_id">
	<option value="0">会员组</value>
    <foreach name="user_group" item="group">
    <option value="{$group.id}" <if condition="$group['id'] eq $group_id">selected</if>>{$group.name}</value>
    </foreach>
</select>
会员帐号:<input type="text" name="email" class="medium" value = "{$email}" style="width:80px;">&nbsp;
会员名称:<input type="text" name="user_name" class="medium" value = "{$user_name}" style="width:80px;">&nbsp;
<input type="hidden" name="{:c('VAR_MODULE')}" value="User" />
<input type="hidden" name="{:c('VAR_ACTION')}" value="index" />
<fanwe:imageBtn type="submit" name="search" value="{$Think.lang._SEARCH_DATA}" style="impBtn hMargin fLeft shadow" />
</form>			
</div>
<!-- 高级查询区域 -->

<!-- 功能操作区域结束 -->

<!-- 列表显示区域  -->
<div class="list" >
<fanwe:list 
	id="checkList" 
	name="user" 
	style="list" 
	checkbox="true" 
	action="true" 
	datasource="list" 
	child="true" 
	show="id:{$Think.lang.ID}|8%,user_name:会员名称:edit,email:Email帐号:edit,group_name:会员组,create_time|toDate:{$Think.lang.REG_TIME}" 
	actionlist="status|showStatus=$user['id'],edit:{$Think.lang._EDIT_DATA}:id,userforeverdel:{$Think.lang._DELETE_DATA}:id" /> 
</div>
<!--  分页显示区域 -->
<div class="page">{$page}</div>
<!-- 列表显示区域结束 -->
</div>
<!-- 主体内容结束 -->
</div>
<!-- 主页面结束 -->

